package com.bianmaba.wdc.controller;

import com.bianmaba.spring.supports.mvc.controller.CrudController;
import com.bianmaba.wdc.bean.entity.Holiday;
import com.bianmaba.wdc.service.IHolidayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "management/holiday")
public class MGTHolidayController extends CrudController<Holiday, String> {
    @Autowired
    private IHolidayService service;

    @Override
    protected IHolidayService getService() {
        return service;
    }
}
